package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;

public interface CrawlerpictureDAO extends JpaDao<Crawlerpicture> {

	public Crawlerpicture findCrawlerpictureById(Integer id) throws DataAccessException;

	public Crawlerpicture findCrawlerpictureById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByName(String name) throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByNameContaining(String name_1) throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByPath(String path) throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByPath(String path, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByPathContaining(String path_1) throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByPathContaining(String path_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByDescription(String description) throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByDescriptionContaining(String description_1)
			throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpictureByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Crawlerpicture findCrawlerpictureByPrimaryKey(Integer id) throws DataAccessException;

	public Crawlerpicture findCrawlerpictureByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpicturesByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Crawlerpicture> findAllCrawlerpictures() throws DataAccessException;

	public Set<Crawlerpicture> findAllCrawlerpictures(int startResult, int maxRows) throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpicturesByCrawler(Integer crawlerId, int start, int max);

	public Set<Crawlerpicture> findCrawlerpictureByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerpicture> findCrawlerpicturesByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Crawlerpicture findCrawlerpictureByPhysicalPrimaryKey(String path, Integer crawlerId)
			throws DataAccessException;

	public Crawlerpicture findCrawlerpictureByPhysicalPrimaryKey(String path, Integer crawlerId, int startResult,
			int maxRows) throws DataAccessException;
}
